package com.tbit.uqbike.service.business.impl;

import com.tbit.uqbike.object.pojo.RefundOrder;
import com.tbit.uqbike.service.business.RefundOrderService;
import com.tbit.uqbike.webmanager.dao.log.RefundOrderDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author <a href="mailto:li.yao@tbit.com.cn">yao</a>
 * @version 4.2.0
 * @since 2024/10/21 15:22
 */
@Service
public class RefundOrderServiceImpl implements RefundOrderService {

    @Resource
    private RefundOrderDao refundOrderDao;

    @Override
    public List<RefundOrder> getByBusinessNo(String businessNo) {
        return refundOrderDao.getByBusinessNo(businessNo);
    }

    /**
     * 批量查询退款订单
     * @param orderNumList 订单编号
     * @return 退款订单
     */
    @Override
    public List<RefundOrder> getByBusinessNoList(List<String> orderNumList) {
        return refundOrderDao.getByBusinessNoList(orderNumList);
    }
}
